/**
 * Administration Layout
 *
 * @package    phpMyFAQ
 * @subpackage Layout
 * @author     Thorsten Rinne <thorsten@phpmyfaq.de>
 * @copyright  2004-2009 phpMyFAQ Team
 *
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 */

/*  General */
* { padding: 0; margin: 0; }
body { font: .8em 'Trebuchet MS', 'Nimbus Sans L', sans-serif; line-height: 1.6em; color: #19191B;
    background: url(../../images/background.png) repeat-x; }
#wrap { margin: 0 auto; max-width: 1200px; }

/* Header */
#top { margin: 0 auto; padding: 0; color: #BEC5CD; height: 87px; background-color: #0D2458; }
#top h1 { padding: 10px 0 0 25px; color: #D4451B; font-size: 200%; }
#top h1 a.mainpage { color: #D4451B; }
#top h2 { padding: 0px 0 0 25px; color: #BEC5CD; font-size: 90%; }
#top .padding { padding-top: 5px; }
#top .lefts { height: 87px; }
#top .rights { float: right; height: 87px; width: 18px; }

#languageselection { float: right;  padding: 10px 25px 0 0;  }

/* Top menu */
#topmenu { margin: 0; padding: 0; height: 35px; background-color: #1A3878; border-top: 1px solid #E8EAF6;}
#topmenu .lefts { height: 35px; }
#topmenu .rights { float: right; height: 35px; width: 8px; }
#topmenu li a { color: #FFF; text-align: left; padding-left: 10px; padding-right: 15px; text-decoration: none;
    font-weight: bold } 
#topmenu li { padding: 0px; float: left; margin: 0; font-size: 14px; line-height: 35px; white-space: nowrap;
    list-style-type: none; width: auto; border-right: 1px solid #E8EAF6; }
#topmenu li.active { background: lightgrey; }
#topmenu li a.logout { color: red; }
#topmenu li.active a { color: #1A3878 }

/* Main container */
#main { margin: 5px 0 5px; padding: ;color: #19191B; padding-top: 5px; }

/* 2nd level menu */
#main #leftmenu { width: 200px; margin-left: 0px; float: left; } 
#main #leftmenu .box { background: #efefef; margin-bottom: 10px; color: #666; border-top: 1px solid #807B77; }
#main #leftmenu h2 { font: bold 1.0em;  height: 18px; padding: 3px; color: #E8EAF6; background-color: #807B77; }
#main #leftmenu li { padding-bottom: 3px; padding-left: 3px; border-bottom: 1px solid #807B77; }

/* Content */
#maincontent { color: #19191B; margin-left: 215px; }
#maincontent h2 { color: #160F17; text-indent: 5px; font-size: 120%; border-bottom: 1px solid #160F17; }

/* Footer */
#footer { clear: both; height: 46px; font-size: 85%; color: #160F17; border-top: 1px solid #050110; margin-top: 5px; }
#footer .right { float: right; display: inline; text-align: right; padding-top: 5px; }

/* Global CSS definitions */
a { color: #7A4E69; background: inherit; text-decoration: none }
h1 { font: bold 1.9em 'Trebuchet MS', 'Nimbus Sans L', sans-serif }
h2 { font: bold 1.2em 'Trebuchet MS', 'Nimbus Sans L', sans-serif; padding: 0 0 2px; margin: 0 0 10px; }
ul {  padding: 0; margin: 0}
li { list-style-type: none }
form { margin: 0; padding: 0; }
a img, img { border: 0; }
pre {   padding: 0.5em; background: #E8EAF6; border: 1px solid #160F17; overflow: auto; }
dl { margin-bottom: 40px; }
dt { float: left; width: 200px; }
dd { margin: 0 0 10px 200px; }

/* Global forms CSS definitions */
#maincontent textarea { border: 1px solid #BBBBBB; }
#main #maincontent fieldset { float: left; width: 95%; border: 1px solid #ccc; padding: 10px 8px; margin: 0 10px 8px 0;
    background: #FFF; color: #000; }
#main #maincontent fieldset p { width: 95%; }
#main input { padding: 3px; margin: 0; border: 1px solid #bbb }

/* User pages */
#user_accounts { float: left; width: 200px; margin: 0; }
#user_data { float: left; width: 225px; margin: 0; padding-left: 15px; }
#user_rights { float: left; width: 225px; margin: 0; padding-left: 15px;}

#groups { float: left; width: 200px; margin: 0; }
#group_membership { float: left; width: 225px; margin: 0; padding-left: 5px; }
#group_details { float: left; width: 225px; margin: 0 0 0 25px; padding-left: 5px;}

#group_rights {}
#group_memberList { float: right; width: 35%; height: 220px; }
#group_userList { float: left; width: 35%; height: 220px; }
#group_membershipButtons { text-align: center; padding-top: 105px; }
#group_membership .button_row { padding-top: 10px; }
.clear { clear: both; }

/* Form CSS definitions */
form br { clear: both; }
label { float: left; text-align: right; margin-right: 5px; }
label.left { width: 185px; }
label.lefteditor { width: 135px; }
label.leftconfig { width: 235px; }
input { padding-bottom: 10px; }
input[type=text], input[type=password] { float: left; margin-bottom: 10px; }
input.right { float: left; width: auto; clear: both; margin-left: 200px; margin-right: 5px; margin-bottom: 5px;}
input[type=checkbox].right, input[type=radio].right, input[type=submit].right { margin-left: 200px; }
fieldset.login { margin: 30px auto; padding: 30px 30px 10px 30px; width: 400px; }
fieldset.login label.left { width: 30%; }
fieldset.login input[type=text] { width: 60%; }
fieldset.login input[type=submit] { position: relative; right: -50px; width: 50px; }
fieldset.login input[type=reset] { position: relative; right: -40px; width: 50px; }
fieldset.login #faqpassword { width: 60%; margin-bottom: 20px; }


/* Table CSS definitions */
table.list { border: 1px solid #cccccc; border-collapse: collapse; width: 768px; }
table.listrecords { border: 1px solid #cccccc; border-collapse: collapse; width: 768px; }
.list thead th, tfoot td { background-color: #EDF2F2; }
.list tfoot td { text-align: right; }
th.list, td.list { border: 1px solid #cccccc; padding: 2px; line-height: 20px; text-align: left; }
th.listhead { border: 1px solid #cccccc; padding: 2px; line-height: 20px; text-align: center; }
th.listhead a { text-decoration: none; font-weight: bold; }

/* datePicker CSS definitions */
a.dp-choose-date { width: 16px; height: 16px; padding: 0; margin: 5px 3px 0; display: block;
    text-indent: -2000px; overflow: hidden; background: url(../admin/images/calendar.png) no-repeat; }
a.dp-choose-date.dp-disabled { background-position: 0 -20px; cursor: default; }
input.dp-applied { width: 140px; float: left; }



/*


.userrights {
    padding-left: 132px;
}


textarea.admin {
    width: 755px;
}
input.admin, select.admin, textarea.admin {
    float: left;
    width: auto;
    clear: both;
    margin-bottom: 10px;
}
input.submit {
}


.categorylisting {
    color: Black;
    font-weight: bold;
    padding-bottom: 8px;
}
.categorylisting a {
    color: Black;
    text-decoration: none;
}
.categorybox {
    padding-bottom: 16px;
}
#changelog {
    border: 1ps solid darkgray;
    background-color: #F8F8FF;
    padding: 3px;
    margin-bottom: 10px;
    height: 130px;
    overflow: auto;
}


table.ssc {
   background-color: #EDF2F2;
   border-color: #656565;
   border: 1px solid;
}
td.sscTitle {
   background-color:#DDF2F2;
   border-bottom:2px groove;
   border-top:1px solid;
   border-left:1px solid;
   border-right:1px solid;
   padding-left:6px;
   padding-right:6px;
   vertical-align:middle;
}
td.sscDesc {
   background-color:#EDF2F2;
   padding-left:5px;
   padding-right:5px;
   border:1px solid;
   vertical-align:middle;
}
td.sscDescNA {
   background-color:#FF4400;
   padding-left:5px;
   padding-right:5px;
   border:1px solid;
   vertical-align:middle;
}

table.verifyArticleURL tr.urlfail td {
    background-color:#FFF5F5;
}

table.verifyArticleURL tr.urlfail td.urlfail {
    color: #FF0000;
    font-weight: bold;
}

table.verifyArticleURL tr.urlsuccess td {

}

table.verifyArticleURL tr.urlsuccess td.urlsuccess {
    font-weight: bold;
}


table.linkconfig#typeselection {
    width: 100%;
}

table.linkconfig#typeselection tr td {
    border-bottom: 1px solid #305C77;
    padding: 0px;
    margin: 0px;
}

table.linkconfig#typeselection tr td.selected {
    border: 1px solid #305C77;
    background-color: #305C77;
    text-align: center;
}

table.linkconfig#typeselection tr td.selected a {
    color: white;
    text-decoration: none;
}

table.linkconfig#typeselection tr td.selected a:hover {
    color: white;
    text-decoration: none;
}


table.linkconfig#typeselection tr td.selectable {
    text-align: center;
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    background-color: white;
}

table.linkconfig#typeselection tr td.selectable a {
    color: #305C77;
    text-decoration: none;
}

table.linkconfig#typeselection tr td.selectable a:hover {
    color: #305C77;
    text-decoration: underline;
}

table.linkconfig#configuration {
    width: 100%;
}

table.linkconfig#configuration tr th {
    border-bottom: 2px solid #305C77;
    background-color: #9CB6C6;
    color: black;
}

table.linkconfig#configuration tr th.selectable a {
    text-decoration: none;
    color: black;
}

table.linkconfig#configuration tr th.selected a {
    text-decoration: none;
    color: red;
}


table.linkconfig#configuration tr th a:hover {
    text-decoration: underline;
}

table.linkconfig#configuration tr#lastrow td {
    border-top: 2px solid #305C77;
}

.url-batch1, .url-batch2, .url-batch3, .url-checking {
    background-color: #ff0;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
.url-batch1 span a, .url-batch2 span a, .url-batch3 span a, .url-checking span a {
    color: #000;
    text-decoration: none;
}
.url-disabled, .url-noaccess, .url-noajax, .url-noscript {
    background-color: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
.url-disabled span a, .url-noaccess span a, .url-noajax span a, .url-noscript span a {
    color: #fff;
    text-decoration: none;
}
.url-linkbad {
    background-color: #f00;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
.url-linkbad span a {
    color: #000;
    text-decoration: none;
}
.url-linkok, .url-nolinks {
    background-color: #0f0;
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
.url-linkok span a, .url-nolinks span a {
    color: #000;
    text-decoration: none;
}

.clearing {
    height: 0;
    margin: 10px;
    clear: both;
    display: none;
}
#footer {
    clear: both;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 10px;
    color: #666666;
    border-top: 2px solid #666666;
    padding-top: 10px;
    text-align: right;
}
#footer div {
    padding-left: 3mm;
}
#footer a {
    color: #666666;
}


.clear {
    clear: both;
    display: block;
    height: 1px;
}


div.input_row {
    margin-bottom: 10px;
}
div.input_row label {
    display: block;
    float: left;
    text-align: left;
}
div.input_row input {
    background: White;
}
div.input_row input[type=text], div.input_row select, div.input_row textarea {
    width: 100%;
    background: White;
}
div.button_row {
}
div.button_row input.submit {
    margin: 0 25px 0 10px;
    display: block;
    float: right;
}
div.button_row input.reset {
    margin: 0 10px 0 25px;
    display: block;
    float: left;
}


.select_all, .unselect_all {
    font-size: 80%;
}


#user_message .error {
    color: red;
    font-weight: bold;
}
#user_message .success {
    color: green;
    font-weight: bold;
}


#user_create {
    width: 450px;
}

#user_list {}
#user_list_select {
    width: 200px;
    margin: 10px;
}
.user_list_autocomplete {
    position:absolute;
    width: 200px;
    background-color:white;
    border:1px solid #888;
    margin:0px;
    padding:0px;
}
.user_list_autocomplete ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}
.user_list_autocomplete ul li.selected {
    background-color: #ffb;
    border-top: dashed 1px black;
    border-bottom: dashed 1px black;
}
.user_list_autocomplete ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:2px;
    height:20px;
    cursor:pointer;

    border-top: dashed 1px white;
    border-bottom: dashed 1px white;
}

#user_confirmDelete {
    width: 250px;
}

#group_create {
    width: 350px;
}

#tags_autocomplete_choices {
    margin: 0;
}
#tags_autocomplete_choices li {
    list-style: none;
    background: #FCFCFC;
    border: 1px solid #656565;
    padding: 2px;
}
#tags_autocomplete_choices li.selected {
    background: #EDF2F2;
}
*/
